<!DOCTYPE html>

<html>

	<head>
		<meta charset="utf-8">
		<title>表头筛选</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
		
		<link rel="stylesheet" href="../../layuiadmin/layui/css/jquery-labelauty.css">
		<style type="text/css">
		ul { list-style-type: none;}
		li { display: inline-block;}
		li { margin: 10px 0;}
		input.labelauty + label { font: 12px "Microsoft Yahei";}
		</style>
	</head>

	<body>
					<ul class="dowebok">
					<li>	<input type="checkbox" name="checkbox" data-labelauty="ID"  id="id" value="id"></li>
						
					<li>	<input type="checkbox" name="checkbox" data-labelauty="状态"  value="isdel" id="isdel"></li>
					
					<li>	<input type="checkbox" name="checkbox" data-labelauty="物业公司"  value="areaname" id="areaname"></li>
					
					<li>	<input type="checkbox" name="checkbox" data-labelauty="员工号"  value="no" id="no"></li>
						
					<li>	<input type="checkbox" name="checkbox" data-labelauty="员工姓名"  value="name" id="name"></li>
					
					<li>	<input type="checkbox" name="checkbox" data-labelauty="智能卡"  value="nfcname" id="nfcname"></li>
						
					<li>	<input type="checkbox" name="checkbox" data-labelauty="备注"  value="memo" id="memo"></li>	
						
					</ul>
		
		<script src="../../layuiadmin/layui/jquery-3.3.1.min.js"></script>
		<script src="../../layuiadmin/layui/jquery-labelauty.js"></script>
<script >
$(function(){
	$(':input').labelauty();
});
	function a(){
			var id = document.getElementsByName('checkbox');
            var value = new Array();
            for(var i = 0; i < id.length; i++){
             if(!id[i].checked)
             value.push(id[i].value);
            }
			return value;
	}

</script>
			
	</body>

</html>